package com.whu.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.whu.entity.Product;

import java.util.List;

public interface ProductService extends IService<Product> {

    Product getById(Long id);

    List<Product> getAll();

    boolean saveWithSuppliers(Product product);

    boolean deleteByIdWithSuppliers(Long id);

}
